﻿using System.ComponentModel;

namespace Mad.Nug.ViewModel.Base
{
    public class VMBase : INotifyPropertyChanged
    {
        #region Constructor
        public VMBase()
        {
        }
        #endregion

        #region Property Changed
        public event PropertyChangedEventHandler PropertyChanged;

        public void NotifyPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion
    }
}
